Average sentence length |
---|
16.3343 |
sentence length | percentage |
---|---|
2 | 0.0033 |
3 | 0.2333 |
4 | 1.0733 |
5 | 2.0567 |
6 | 3.2067 |
7 | 3.7033 |
8 | 4.5567 |
9 | 5.1433 |
10 | 5.3633 |
11 | 5.5167 |
12 | 5.2867 |
13 | 5.6167 |
14 | 5.4767 |
15 | 5.2633 |
16 | 4.7400 |
17 | 4.7267 |
18 | 4.3533 |
19 | 4.0067 |
20 | 3.6433 |
21 | 3.1400 |
22 | 2.7100 |
23 | 2.6300 |
24 | 2.2267 |
25 | 2.1267 |
26 | 1.9933 |
27 | 1.6500 |
28 | 1.4467 |
29 | 1.1833 |
30 | 1.1700 |
31 | 0.9933 |
32 | 0.8233 |
33 | 0.7100 |
34 | 0.5500 |
35 | 0.5000 |
36 | 0.4733 |
37 | 0.4267 |
38 | 0.2867 |
39 | 0.2333 |
40 | 0.2300 |
41 | 0.1533 |
42 | 0.1333 |
43 | 0.0933 |
44 | 0.0667 |
45 | 0.0267 |
46 | 0.0200 |
47 | 0.0133 |
48 | 0.0133 |
49 | 0.0033 |
50 | 0.0033 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters